﻿using System;

namespace Mbs.ComponentModel.Container
{
    [AttributeUsage(AttributeTargets.Property
	                | AttributeTargets.Method
	                | AttributeTargets.Field
	                | AttributeTargets.Constructor
                    | AttributeTargets.Parameter
	                , AllowMultiple = false
	                , Inherited = true)]
    public class InjectAttribute:Attribute
    {
        /// <summary>
        /// 得到或设置依赖Id
        /// </summary>
        public string Id { get; set; }
    }
}
